package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试驾管理对象 car_test_drive
 * 
 * @author ruoyi
 * @date 2024-04-07
 */
public class CarTestDrive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试驾id */
    private Long id;

    /** 申请人 */
    @Excel(name = "申请人")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 车辆商品id */
    @Excel(name = "车辆商品id")
    private Long goodsId;

    /** 试驾车 */
    @Excel(name = "试驾车")
    private String car;

    /** 试驾状态 */
    @Excel(name = "试驾状态")
    private String status;

    /** 微信用户id */
    @Excel(name = "微信用户id")
    private Long wxUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setCar(String car) 
    {
        this.car = car;
    }

    public String getCar() 
    {
        return car;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setWxUserId(Long wxUserId) 
    {
        this.wxUserId = wxUserId;
    }

    public Long getWxUserId() 
    {
        return wxUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("goodsId", getGoodsId())
            .append("car", getCar())
            .append("status", getStatus())
            .append("wxUserId", getWxUserId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
